<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function foo(){
        console.log(arguments)//对象，不是数组
//        console.log(arguments.map());
        var arr = ['xx','yy']
//        var arr = arguments
        function f(v){
            console.log(v);
        }
        var a = arr.forEach(f);
        [].forEach.call(arguments,f)


    }

    foo('aa','bb','cc')
</script>
</body>
</html>